
#student.py
from flask import Blueprint, redirect,render_template, request, session, url_for
from app.models.base import db
from app.models.student import Student

studentBP = Blueprint('student',__name__)

@studentBP.route('', methods=['GET'])
def get_student():
    s_name=session.get('name')
    s_id=session.get('id')
    return redirect(url_for('helptopic.search',s_name=s_name))